home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / zlantb.z / zlantb
Encoding:
Text File  |  2002-10-03  |  4.7 KB  |  133 lines

  1.  
  2.  
  3.  
  4. ZZZZLLLLAAAANNNNTTTTBBBB((((3333SSSS))))                                                          ZZZZLLLLAAAANNNNTTTTBBBB((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ZLANTB - return the value of the one norm, or the Frobenius norm, or the
  10.      infinity norm, or the element of largest absolute value of an n by n
  11.      triangular band matrix A, with ( k + 1 ) diagonals
  12.  
  13. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.      DOUBLE PRECISION FUNCTION ZLANTB( NORM, UPLO, DIAG, N, K, AB, LDAB, WORK
  15.                       )
  16.  
  17.          CHARACTER    DIAG, NORM, UPLO
  18.  
  19.          INTEGER      K, LDAB, N
  20.  
  21.          DOUBLE       PRECISION WORK( * )
  22.  
  23.          COMPLEX*16   AB( LDAB, * )
  24.  
  25. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  26.      These routines are part of the SCSL Scientific Library and can be loaded
  27.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  28.      directs the linker to use the multi-processor version of the library.
  29.  
  30.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  31.      4 bytes (32 bits). Another version of SCSL is available in which integers
  32.      are 8 bytes (64 bits).  This version allows the user access to larger
  33.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  34.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  35.      only one of the two versions; 4-byte integer and 8-byte integer library
  36.      calls cannot be mixed.
  37.  
  38. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  39.      ZLANTB returns the value of the one norm, or the Frobenius norm, or the
  40.      infinity norm, or the element of largest absolute value of an n by n
  41.      triangular band matrix A, with ( k + 1 ) diagonals.
  42.  
  43. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  44.      ZLANTB returns the value
  45.  
  46.         ZLANTB = ( max(abs(A(i,j))), NORM = 'M' or 'm'
  47.                  (
  48.                  ( norm1(A),         NORM = '1', 'O' or 'o'
  49.                  (
  50.                  ( normI(A),         NORM = 'I' or 'i'
  51.                  (
  52.                  ( normF(A),         NORM = 'F', 'f', 'E' or 'e'
  53.  
  54.      where  norm1  denotes the  one norm of a matrix (maximum column sum),
  55.      normI  denotes the  infinity norm  of a matrix  (maximum row sum) and
  56.      normF  denotes the  Frobenius norm of a matrix (square root of sum of
  57.      squares).  Note that  max(abs(A(i,j)))  is not a  matrix norm.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ZZZZLLLLAAAANNNNTTTTBBBB((((3333SSSS))))                                                          ZZZZLLLLAAAANNNNTTTTBBBB((((3333SSSS))))
  71.  
  72.  
  73.  
  74. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  75.      NORM    (input) CHARACTER*1
  76.              Specifies the value to be returned in ZLANTB as described above.
  77.  
  78.      UPLO    (input) CHARACTER*1
  79.              Specifies whether the matrix A is upper or lower triangular.  =
  80.              'U':  Upper triangular
  81.              = 'L':  Lower triangular
  82.  
  83.      DIAG    (input) CHARACTER*1
  84.              Specifies whether or not the matrix A is unit triangular.  = 'N':
  85.              Non-unit triangular
  86.              = 'U':  Unit triangular
  87.  
  88.      N       (input) INTEGER
  89.              The order of the matrix A.  N >= 0.  When N = 0, ZLANTB is set to
  90.              zero.
  91.  
  92.      K       (input) INTEGER
  93.              The number of super-diagonals of the matrix A if UPLO = 'U', or
  94.              the number of sub-diagonals of the matrix A if UPLO = 'L'.  K >=
  95.              0.
  96.  
  97.      AB      (input) COMPLEX*16 array, dimension (LDAB,N)
  98.              The upper or lower triangular band matrix A, stored in the first
  99.              k+1 rows of AB.  The j-th column of A is stored in the j-th
  100.              column of the array AB as follows:  if UPLO = 'U', AB(k+1+i-j,j)
  101.              = A(i,j) for max(1,j-k)<=i<=j; if UPLO = 'L', AB(1+i-j,j)   =
  102.              A(i,j) for j<=i<=min(n,j+k).  Note that when DIAG = 'U', the
  103.              elements of the array AB corresponding to the diagonal elements
  104.              of the matrix A are not referenced, but are assumed to be one.
  105.  
  106.      LDAB    (input) INTEGER
  107.              The leading dimension of the array AB.  LDAB >= K+1.
  108.  
  109.      WORK    (workspace) DOUBLE PRECISION array, dimension (LWORK),
  110.              where LWORK >= N when NORM = 'I'; otherwise, WORK is not
  111.              referenced.
  112.  
  113. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  114.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  115.  
  116.      This man page is available only online.
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.